<?php get_header(); ?>


<?php if (have_posts()) : ?>

							<h2 class="pagetitle">Search Results</h2>

							<?php if (get_next_posts_page_link()||get_previous_posts_page_link()) { ?><p class="navigation">
								<?php if (get_previous_posts_page_link()) { ?><span class="previous"><?php previous_posts_link('&laquo; Newer') ?></span><?php } ?>
								<?php if (get_next_posts_page_link()) { ?><span class="next"><?php next_posts_link('Older &raquo;') ?></span><?php } ?>
							</p><?php } ?>


							<?php while (have_posts()) : the_post(); ?>

							<div class="post">
								<h3><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
								<p class="postmetainfo"><?php the_time(get_option('date_format')) ?>	by <?php the_author() ?></p>
								<div class="entry">
									<?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>

									<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
									<p class="postmetadata"><?php the_tags( 'Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>	<?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
								</div>
							</div>
<?php endwhile; ?>

							<?php if (get_next_posts_page_link()||get_previous_posts_page_link()) { ?><p class="navigation">
								<?php if (get_previous_posts_page_link()) { ?><span class="previous"><?php previous_posts_link('&laquo; Newer') ?></span><?php } ?>
								<?php if (get_next_posts_page_link()) { ?><span class="next"><?php next_posts_link('Older &raquo;') ?></span><?php } ?>
							</p><?php } ?>

<?php else : ?>

							<h2 class="center">No posts found. Try a different search?</h2>
							<?php include (TEMPLATEPATH . '/searchform.php'); ?>

<?php endif; ?>

						</div>
					</div>
					<div class="clear"></div>
				</div>
			</div>
			<!-- /wrapper --><!-- /main-content -->

<?php get_sidebar(); ?>

<?php get_footer(); ?>